package com.cloud.bc.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigInteger;
import java.util.Date;

/**
 * 喜欢
 *
 * @author douhaichao code generator
 * @date 2021-01-09 19:24:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("bc_likes")
public class BcLikes extends Model<BcLikes> {

    /**
     *
     */
    @TableId
    private Integer id;

    /**
     * 用户UID
     */
    private Integer userId;

    /**
     * 对象UID
     */
    private Integer targetId;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private String likeType;

}
